############## mongo 数据库 #####################
FROM mongo
MAINTAINER biebbwa@163.com
ENV TZ=Asia/Shanghai
ENV AUTO_RUN_DIR /docker-entrypoint-initdb.d
ENV INSTALL_MONGO_SHELL setup.sh
COPY ./$INSTALL_MONGO_SHELL $AUTO_RUN_DIR/
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
    chmod a+x $AUTO_RUN_DIR/$INSTALL_MONGO_SHELL
